Reusing docker desktop for windows.

Come back to k8s for windows after using k8s in other environment.
Docker
Published

May 25, 2023

Reusing docker desktop

After some time doing experiments on kubernetes, I want to work in docker for windows using kubernetes. Docker for desktop documentation.

Open a terminal

PS C:\Users\polit> kubectl config get-contexts
CURRENT   NAME             CLUSTER          AUTHINFO         NAMESPACE
          docker-desktop   docker-desktop   docker-desktop
*         dppizza          dppizza          dppizza          default

and change the current to point to docker-desktop.

PS C:\Users\polit> kubectl config use-context docker-desktop
Switched to context "docker-desktop".